import type { MenuItem } from '../types/menu'

export const menuItems: MenuItem[] = [
  {
    title: '首页',
    path: '/',
    icon: 'HomeFilled'
  },
  {
    title: '用户管理',
    path: '/users',
    icon: 'User',
    permission: 'user:view'
  },
  {
    title: '角色管理',
    path: '/roles',
    icon: 'Lock',
    permission: 'role:view'
  },
  {
    title: '部门管理',
    path: '/departments',
    icon: 'OfficeBuilding',
    permission: 'department:view'
  },
  {
    title: '客户管理',
    path: '/customers',
    icon: 'UserFilled',
    permission: 'customer:list'
  },
  {
    title: '拜访管理',
    path: '/visits',
    icon: 'Calendar',
    permission: 'visit:list'
  },
  {
    title: '线索管理',
    path: '/clues',
    icon: 'Connection',
    permission: 'clue:list'
  },
  {
    title: '操作日志',
    path: '/user-logs',
    icon: 'Document',
    permission: 'log:view'
  }
]
